home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / man / fant.man < prev    next >
Text File  |  1994-04-01  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. FANT(1)                                                   FANT(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        fant - perform simple spatial transforms on an image
  9.  
  10. SSYYNNOOPPSSIISS
  11.        ffaanntt [ --aa _a_n_g_l_e ] [ --bb ] [ --oo _o_u_t_f_i_l_e ] [ --pp _x_o_f_f _y_o_f_f ] [
  12.        --ss _x_s_c_a_l_e _y_s_c_a_l_e ] [ --vv ] [ _i_n_f_i_l_e ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        _F_a_n_t rotates or scales an image by  an  arbitrary  amount.
  16.        It does this by using pixel integration (if the image size
  17.        is reduced) or pixel interpolation if the  image  size  is
  18.        increased.   Because  it  works  with  subpixel precision,
  19.        aliasing artifacts are not  introduced  (hah!  see  BUGS).
  20.        _F_a_n_t  uses  a  two-pass  sampling technique to perform the
  21.        transformation.  If _i_n_f_i_l_e is "-" or absent, input is read
  22.        from the standard input.
  23.  
  24. OOPPTTIIOONNSS
  25.        --aa _a_n_g_l_e
  26.               Amount  to rotate image by, a real number from 0 to
  27.               45 degrees  (positive  numbers  rotate  clockwise).
  28.               Use  rleflip(1)  first to rotate an image by larger
  29.               amounts.
  30.  
  31.        --bb     Blur  the  resulting  image.   Always   interpolate
  32.               between pixels of the input image.  This results in
  33.               fewer artifacts but  a  slightly  blurry  resulting
  34.               image.   Recommended for pathological cases such as
  35.               single pixel wide lines in the input image.
  36.  
  37.        --oo _o_u_t_f_i_l_e
  38.               Specifies where to place the resulting image.   The
  39.               default  is to write to stdout.  If _o_u_t_f_i_l_e is "-",
  40.               the output will be written to the  standard  output
  41.               stream.
  42.  
  43.        --pp _x_o_f_f _y_o_f_f
  44.               Specifies  where  the  origin of the image is - the
  45.               image is rotated or scaled about this point.  If no
  46.               origin  is  specified,  the  center of the image is
  47.               used.
  48.  
  49.        --ss _x_s_c_a_l_e _y_s_c_a_l_e
  50.               The amount (in real numbers) to scale an image  by.
  51.               This  is  often useful for correcting the aspect of
  52.               an image for display on a  frame  buffer  with  non
  53.               square  pixels.  For this use, the origin should be
  54.               specified as 0, 0 (see --pp above).  If an  image  is
  55.               only scaled in Y and no rotation is performed, _f_a_n_t
  56.               only uses one sampling pass over the image, cutting
  57.               the computation time in half.
  58.  
  59.        --vv     Verbose output.  Primarily for debugging.
  60.  
  61.  
  62.  
  63.  
  64. 1                         June 15, 1990                         1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. FANT(1)                                                   FANT(1)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        _a_v_g_4(1), _r_l_e_f_l_i_p(1), _u_r_t(1), _R_L_E(5),
  75.        Fant, Karl M. "A Nonaliasing, Real-Time, Spatial Transform
  76.        Technique", _I_E_E_E _C_G_&_A, January, 1986, p. 71.
  77.  
  78. AAUUTTHHOORRSS
  79.        John W. Peterson, James S. Painter
  80.  
  81. BBUUGGSS
  82.        _F_a_n_t uses a rather poor anti-aliasing filter (a  box  fil­
  83.        ter).   This  is  usually  good  enough  but  will exhibit
  84.        noticeable aliasing artifacts on nasty input images.
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. 1                         June 15, 1990                         2
  131.  
  132.  
  133.